package com.sinodata.bsm.center.service.event;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.sinodata.bsm.center.dao.BaseDao;
import com.sinodata.bsm.common.vo.EventRemark;

/**
 * <p>
 * Description: 事件备注服务类
 * </p>
 *
 * @author dongyushi
 * @version 1.0

 * <p>
 * History: 
 *
 * Date                     Author         Version     Description
 * ---------------------------------------------------------------------------------
 * 2012-6-1 PM 4:24:40      dongyushi      1.0         To create
 * </p>
 *
 * @since 
 * @see     
 */
@Service
@Transactional(propagation = Propagation.NOT_SUPPORTED)
public class EventRemarkService {

    @Autowired
    private BaseDao baseDao;

    /**
     * 保存事件备注信息到数据库
     * 
     * @param eventRemark
     */
    @Transactional(propagation = Propagation.REQUIRED)
    public void add(EventRemark eventRemark) {
        baseDao.save(eventRemark);
    }

}